import { Tp_procmaterial_mater_mediate, Tp_procmaterial_accept_accept,  Tp_procmaterial_accept_append, Tp_procmaterial_accept_noaccept,
} from '@/common/enumeration/Tp_procmaterial'

// 用于判断、传值
export const Tp_proctypeValue = {
  MATER_MEDIATE: 6003600,   // 受理前调解
  HEAR_MEDIATE: 6003601,   // 受理后调解
  HEAR_TRAWL: 6003602,   // 查阅复制
  HEAR_SURVEY: 6003603,   // 调查
  HEAR_INQUEST: 6003604,   // 勘验
  HEAR_HEARING: 6003605,   // 听证
  HEAR_IDENTIFY: 6003606,   // 鉴定
  HEAR_STOP: 6003607,   // 停止执行
  HEAR_DELAY: 6003608,   // 延期
  HEAR_REST: 6003609,   // 中止
  HEAR_DECISION: 6003610,   // 决定
  HEAR_REPLY: 6003611,   // 被申请人答复
  HEAR_WITHDRAW: 6003612,   // 撤回
  HEAR_MOBILIZE: 6003613,   // 调卷
  HEAR_RESTORE: 6003614,   // 恢复
  EXECUTE_FORCE_UNIT: 6003615,   // 复议机关强制执行
  EXECUTE_SELF: 6003616,   // 自行履行
  EXECUTE_PERFORM: 6003617,   // 责令履行
  HEAR_ADVICE: 6003619,   // 听取意见
  HEAR_TRANSFORM: 6003620,   // 程序转换
  ACCEPT_ACCEPT: 6003621,   // 受理
  ACCEPT_APPEND: 6003622,   // 补正
  ACCEPT_INFORM: 6003623,   // 告知
  ACCEPT_NOACCEPT: 6003624,   // 不予受理
  ACCEPT_RESULT: 6003625,   // 撤回
  ACCEPT_OTHERDEAL: 6003627,   // 受理其他处理
  HEAR_EXPERT: 6003628,   // 专家论证
  EXECUTE_FORCE_LAW: 6003629,   // 委托人民法院强制执行
  ACCEPT_CHANGE_FIRSTPER: 6003630,   // 变更承办人
  ACCEPT_CHANGE_SECONDPER: 6003631,   // 变更协办人
  ACCEPT_ABANDON: 6003632,   // 视为放弃
  HEAR_THIRDER: 6003633,   // 第三人审批
}

// 行政复议-审批过程类型
export const Tp_proctypeEnum = {
    /** *******受理阶段****************/
    mater_mediate: {
        key: 'mater_mediate',
        name: '受理前调解',
        value: 6003600,
        categoryKey: 'mediate_upload',
        material: Tp_procmaterial_mater_mediate,
        sonStatus: null,
        showCitymanager: false
    },
    accept_result: {
        key: 'accept_result',
        name: '撤回',
        value: 6003625,
        categoryKey: 'rollback_upload',
        material: null,
        sonStatus: null,
        showCitymanager: false
    },
    accept_append: {
        key: 'accept_append',
        name: '补正',
        value: 6003622,
        categoryKey: 'append_upload',
        material: Tp_procmaterial_accept_append,
        sonStatus: null,
        showCitymanager: false
    },
    accept_accept: {
        key: 'accept_accept',
        name: '受理',
        value: 6003621,
        categoryKey: 'accept_upload',
        material: Tp_procmaterial_accept_accept,
        sonStatus: null,
        showCitymanager: true
    },
    // accept_inform: {
    //     key: 'accept_inform',
    //     name: '告知',
    //     value: 6003623,
    //     categoryKey: 'inform_upload',
    //     material: Tp_procmaterial_accept_inform,
    //     sonStatus: undefined
    // },
    accept_noaccept: {
        key: 'accept_noaccept',
        name: '不予受理',
        value: 6003624,
        categoryKey: 'noaccept_upload',
        material: Tp_procmaterial_accept_noaccept,
        sonStatus: undefined,
        showCitymanager: true
    },
    accept_otherdeal: {
        key: 'accept_otherdeal',
        name: '视为放弃',
        value: 6003627,
        categoryKey: 'acceptother_upload',
        material: null,
        sonStatus: undefined
    },
    accept_change_firstper: {
        key: 'accept_change_firstper',
        name: '变更承办人',
        value: 6003630,
        categoryKey: 'accept_change_firstper',
        material: undefined,
        sonStatus: undefined,
        showCitymanager: false
    },
    accept_change_secondper: {
        key: 'accept_change_secondper',
        name: '变更协办人',
        value: 6003631,
        categoryKey: 'accept_change_secondper',
        material: undefined,
        sonStatus: undefined,
        showCitymanager: false
    },

}	